package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * ArticleCategory entity. @author MyEclipse Persistence Tools
 */

public class ArticleCategory implements java.io.Serializable {

	// Fields

	private Long id;
	private ArticleCategory articleCategory;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private Integer orders;
	private Integer grade;
	private String name;
	private String seoDescription;
	private String seoKeywords;
	private String seoTitle;
	private String treePath;
	private Set articleCategories = new HashSet(0);
	private Set articles = new HashSet(0);

	// Constructors

	/** default constructor */
	public ArticleCategory() {
	}

	/** minimal constructor */
	public ArticleCategory(Timestamp createDate, Timestamp modifyDate,
			Integer grade, String name, String treePath) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.grade = grade;
		this.name = name;
		this.treePath = treePath;
	}

	/** full constructor */
	public ArticleCategory(ArticleCategory articleCategory,
			Timestamp createDate, Timestamp modifyDate, Integer orders,
			Integer grade, String name, String seoDescription,
			String seoKeywords, String seoTitle, String treePath,
			Set articleCategories, Set articles) {
		this.articleCategory = articleCategory;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.orders = orders;
		this.grade = grade;
		this.name = name;
		this.seoDescription = seoDescription;
		this.seoKeywords = seoKeywords;
		this.seoTitle = seoTitle;
		this.treePath = treePath;
		this.articleCategories = articleCategories;
		this.articles = articles;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public ArticleCategory getArticleCategory() {
		return this.articleCategory;
	}

	public void setArticleCategory(ArticleCategory articleCategory) {
		this.articleCategory = articleCategory;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getOrders() {
		return this.orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public Integer getGrade() {
		return this.grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSeoDescription() {
		return this.seoDescription;
	}

	public void setSeoDescription(String seoDescription) {
		this.seoDescription = seoDescription;
	}

	public String getSeoKeywords() {
		return this.seoKeywords;
	}

	public void setSeoKeywords(String seoKeywords) {
		this.seoKeywords = seoKeywords;
	}

	public String getSeoTitle() {
		return this.seoTitle;
	}

	public void setSeoTitle(String seoTitle) {
		this.seoTitle = seoTitle;
	}

	public String getTreePath() {
		return this.treePath;
	}

	public void setTreePath(String treePath) {
		this.treePath = treePath;
	}

	public Set getArticleCategories() {
		return this.articleCategories;
	}

	public void setArticleCategories(Set articleCategories) {
		this.articleCategories = articleCategories;
	}

	public Set getArticles() {
		return this.articles;
	}

	public void setArticles(Set articles) {
		this.articles = articles;
	}

}